package com.jumi.microservice.dto.reponse;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.jumi.microservice.enums.FenXiaoStatus;
import com.jumi.microservice.enums.FenXiaoType;
import com.jumi.microservice.enums.Level;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@ApiModel("会员收益返回结果")
public class FenXiaoReponse extends BaseUserReponse {

    @ApiModelProperty("记录id")
    private Integer id;

    @ApiModelProperty("受益人id")
    private Integer uid;

    @ApiModelProperty("订单编号")
    private String orderSn;

    @ApiModelProperty("购买人id")
    private Long buyerId;

    @ApiModelProperty("购买人昵称")
    private String buyerName;

    @ApiModelProperty("购买人姓名")
    private String buyerTruename;

    @ApiModelProperty("购买人手机号")
    private String buyerMobile;

    @ApiModelProperty("购买人等级")
    private Level buyerLevel;
    @ApiModelProperty("购买人微信号")
    private String buyerWechatnum;

    @ApiModelProperty("订单成交金额")
    private BigDecimal orderTotal;
    @ApiModelProperty("收益状态")
    private FenXiaoStatus status;
    @ApiModelProperty("收益类型")
    private FenXiaoType type;
    @ApiModelProperty("收益金额")
    private BigDecimal yongjin;

    @ApiModelProperty("记录创建时间")
    private LocalDate createTime;

    @ApiModelProperty("用户创建时间")
    private LocalDateTime utime;


    @ApiModelProperty("下单时间")
    private LocalDateTime orderTime;

    @ApiModelProperty("商品id")
    private Integer gid;

    @ApiModelProperty("商品名称")
    private String goodName;

    @ApiModelProperty("商品图片")
    private String goodImage;


    public LocalDateTime getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(LocalDateTime orderTime) {
        this.orderTime = orderTime;
    }

    public String getBuyerWechatnum() {
        return buyerWechatnum;
    }

    public void setBuyerWechatnum(String buyerWechatnum) {
        this.buyerWechatnum = buyerWechatnum;
    }

    public String getBuyerTruename() {
        return buyerTruename;
    }

    public void setBuyerTruename(String buyerTruename) {
        this.buyerTruename = buyerTruename;
    }

    public Level getBuyerLevel() {
        return buyerLevel;
    }

    public void setBuyerLevel(Level buyerLevel) {
        this.buyerLevel = buyerLevel;
    }

    public String getBuyerMobile() {
        return buyerMobile;
    }

    public void setBuyerMobile(String buyerMobile) {
        this.buyerMobile = buyerMobile;
    }

    public Integer getGid() {
        return gid;
    }

    public void setGid(Integer gid) {
        this.gid = gid;
    }

    public String getGoodName() {
        return goodName;
    }

    public void setGoodName(String goodName) {
        this.goodName = goodName;
    }

    public String getGoodImage() {
        return goodImage;
    }

    public void setGoodImage(String goodImage) {
        this.goodImage = goodImage;
    }

    public FenXiaoType getType() {
        return type;
    }

    public void setType(FenXiaoType type) {
        this.type = type;
    }

    public BigDecimal getYongjin() {
        return yongjin;
    }

    public void setYongjin(BigDecimal yongjin) {
        this.yongjin = yongjin;
    }

    public LocalDateTime getUtime() {
        return utime;
    }

    public void setUtime(LocalDateTime utime) {
        this.utime = utime;
    }


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getOrderSn() {
        return orderSn;
    }

    public void setOrderSn(String orderSn) {
        this.orderSn = orderSn;
    }

    public Long getBuyerId() {
        return buyerId;
    }

    public void setBuyerId(Long buyerId) {
        this.buyerId = buyerId;
    }

    public String getBuyerName() {
        return buyerName;
    }

    public void setBuyerName(String buyerName) {
        this.buyerName = buyerName;
    }

    public BigDecimal getOrderTotal() {
        return orderTotal;
    }

    public void setOrderTotal(BigDecimal orderTotal) {
        this.orderTotal = orderTotal;
    }


    public FenXiaoStatus getStatus() {
        return status;
    }

    public void setStatus(FenXiaoStatus status) {
        this.status = status;
    }

    public LocalDate getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDate createTime) {
        this.createTime = createTime;
    }
}
